﻿using FreeSql.DataAnnotations;
using System.ComponentModel;
using System.Globalization;

namespace D.Wx.Entities
{
    /// <summary>
    /// 平台
    /// </summary>
    [Table(Name = "SysPlatformEntity")]
    [Description("供应商")]
    public class SysPlatformEntity : BaseEntity
    {
        /// <summary>
        /// 标识
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("标识")]
        public string? UUid { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [Column(DbType = "varchar", StringLength = 64)]
        [Description("昵称")]
        public string? NickName { get; set; }

        /// <summary>
        /// 推广链接
        /// </summary>
        [Column(DbType = "varchar", StringLength = 500)]
        [Description("推广链接")]
        public string? LinkUrl { get; set; }

        /// <summary>
        /// 二维码Base64
        /// </summary>
        [Column(DbType = "mediumtext")]
        [Description("二维码")]
        public string? QrCode { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        [Column(DbType = "varchar", StringLength = 500)]
        [Description("Token")]
        public string? Token { get; set; }

        /// <summary>
        /// Ticket
        /// </summary>
        [Column(DbType = "varchar", StringLength = 500)]
        [Description("Ticket")]
        public string? Ticket { get; set; }

        /// <summary>
        /// TicketUrl
        /// </summary>
        [Column(DbType = "varchar", StringLength = 200)]
        [Description("TicketUrl")]
        public string? TicketUrl { get; set; }

        /// <summary>
        /// TicketExpireSeconds
        /// </summary>
        [Column(DbType = "int")]
        [Description("TicketExpireSeconds")]
        public int? TicketExpireSeconds { get; set; }


    }
}
